package cn.chint.manage.service.impl;

import cn.chint.manage.dao.ReviewerDao;
import cn.chint.manage.service.ReviewerServe;
import cn.chint.po.Review;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReviewerServeImpl implements ReviewerServe {
    @Autowired
    ReviewerDao reviewerDao;
    public int inst(String name_wx){
        return reviewerDao.inst(name_wx);
    }

    public List<Review> sel(){
        return reviewerDao.sel();
    }
}
